Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ObjectsDeserializer Class / GetObject Method / GetObject<T>(String) Method


In This Topic
    GetObject<T>(String) Method
    In This Topic
    Deserialize object from memory stream and remove the memory stream in the first time to save memory.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetObject(Of T As Class)( _
       ByVal filename As String _
    ) As T
    'Usage
     
    
    Dim instance As ObjectsDeserializer
    Dim filename As String
    Dim value As T
     
    value = instance.GetObject(Of T)(filename)
    public T GetObject<T>( 
       string filename
    )
    where T: class

    Parameters

    filename

    Type Parameters

    T
    See Also